<template>
  <div>
    <!-- 提供者 -->
    <template v-if="intro=='intro_provide'">
      <el-tag v-if="flowState==2" type="info" size="mini" effect="dark">待接单</el-tag>
      <el-tag v-if="flowState==3" type="" size="mini" effect="dark">待处理</el-tag>
      <el-tag v-if="flowState==4" type="warning" size="mini" effect="dark">待审核</el-tag>
      <el-tag v-if="flowState==-4" type="danger" size="mini" effect="dark">已驳回</el-tag>
      <el-tag v-if="flowState==5" type="success" size="mini" effect="dark">审核通过</el-tag>
      <el-tag v-if="flowState==-5" type="danger" size="mini" effect="dark">审核未通过</el-tag>
      <el-tag v-if="flowState==6" type="success" size="mini" effect="dark">已完结</el-tag>
    </template>

    <!-- 使用者-->
    <template v-if="intro=='intro_use'">
      <el-tag v-if="flowState==0" type="info" size="mini" effect="dark">待提交</el-tag>
      <el-tag v-if="flowState==1" type="warning" size="mini" effect="dark">待审核</el-tag>
      <el-tag v-if="flowState==2" type="" size="mini" effect="dark">待处理</el-tag>
      <el-tag v-if="flowState==-2" type="danger" size="mini" effect="dark">审核未通过</el-tag>
      <el-tag v-if="flowState==3" type="" size="mini" effect="dark">处理中</el-tag>
      <el-tag v-if="flowState==4" type="" size="mini" effect="dark">处理中</el-tag>
      <el-tag v-if="flowState==-4" type="danger" size="mini" effect="dark">已驳回</el-tag>
      <el-tag v-if="flowState==5" type="success" size="mini" effect="dark">已处理</el-tag>
      <el-tag v-if="flowState==-5" type="" size="mini" effect="dark">处理中</el-tag>
      <el-tag v-if="flowState==6" type="success" size="mini" effect="dark">已完结</el-tag>
    </template>

  </div>
</template>
<script>
  export default {
    props: {
      flowState: Number,
      /**
       * 提供者:intro_provide
       * 使用者:intro_use
       */
      intro: String
    }
  }
</script>
